<div class="bDiv" style="height: auto;" id="ajax_return">
    <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
        <table>
            <tbody>
            <volist name="userList" id="list">
                <tr data-id="{$list['user_id']}">
                    <td align="left" class="">
                        <div style=" width: 180px;">{$list.spl}{$list.nickname}</div>
                    </td>
                    <td align="left" class="">
                        <div style="text-align: center; width: 80px;">{$list.distribut_name}</div>
                    </td>
                    <td align="left" class="">
                        <div style="text-align: center; width: 120px;">{$list.reg_time|date='Y-m-d H:i',###}</div>
                    </td>

                    <td align="" class="" style="width: 100%;">
                        <div>&nbsp;</div>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</div>
<!--分页位置-->
<script>
    $(".pagination  a").click(function(){
        var page = $(this).data('p');
        ajax_get_table('search-form2',page);
    });
    $(document).ready(function(){
        // 表格行点击选中切换
        $('#flexigrid >table>tbody>tr').click(function(){
            $(this).toggleClass('trSelected');
        });
        $('#user_count').empty().html("{$pager->totalRows}");
    });

</script>